import axios from '@/utils/request'

export function submitArticle(params) {
  return axios.post('/api/write/save', params)
}

export function getWriteList(params) {
  return axios.post('/api/write/list', params)
}

export function del(id) {
  return axios.delete(`/api/write/delete/${id}`)
}
